<template>
	<div>
		
		<ButtonGroup>
	        <Button @click="changeType(1)" :class="{active: formValidate.type ===1 }">新闻分类</Button>
	        <Button @click="changeType(2)" :class="{active: formValidate.type ===2 }">上传分类</Button>
	        <Button @click="changeType(3)" :class="{active: formValidate.type ===3 }">产品分类</Button>
	    </ButtonGroup>
		<Tree :data="baseData" show-checkbox ></Tree>
		<Upload 
	        multiple
	        type="drag"
	        name="avatar"
	        action="http://localhost:3000/users/upload">
	        <div style="padding: 20px 0">
	            <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
	            <p>点击或将文件拖拽到这里上传</p>
	        </div>
	   </Upload> 
	</div>
	
</template>

<script>
	
	import Mark from '../../common/Mark.js'
	
	export default{
		
		mixins:[Mark],
		
		data(){
			return{
				module2:'cata',
			}
		}
	}
</script>

<style>
</style>